package ModelLayer;


public class Person
{
    // instance variables - replace the example below with your own
    private long id;
    private String name;
    private String address;
    private String phoneNumber;
    private String email;

    /**
     * Constructor for objects of class Person
     * @param long id - The persons ID
     * @param String name - The persons name
     * @param String address - The persons address
     * @param String phoneNumber - The persons phone number
     * @param String email - The persons email
     */
    public Person(long id, String name, String address, String phoneNumber, String email)
    {
        this.id = id;
        this.name = name;
        this.address = address;
        this.phoneNumber = phoneNumber;
        this.email = email;
    }

  //Set & Get methods for the entire class
    /**
    * Sets the persons ID
    * @param long id - The persons ID
    */
    public void setId(long id){
        this.id = id;
    }
    /**
     * Sets the persons name
     * @param String name - The persons name
     */
    public void setName(String name){
        this.name = name;
    }
    /**
     * Sets the persons address
     * @param String address - The persons address
     */
    public void setAddress(String address){
        this.address = address;
    }
    /**
     * Sets the persons phone number
     * @param String phoneNumber - The persons phone number
     */
    public void phoneNumber(String phoneNumber){
        this.phoneNumber = phoneNumber;
    }
    /**
     * Sets the persons email
     * @param String email - The persons email
     */
    public void email(String email){
        this.email = email;
    }
    
    /**
     * Returns the persons ID
     * @return long id - The persons ID
     */
    public long getId(){
        return id;
    }
    /**
     * Returns the persons name
     * @return String name - The persons name
     */
    public String getName(){
        return name;
    }
    /**
     * Returns the persons address
     * @return String address - The persons address
     */
    public String getAddress(){
        return address;
    }
    /**
     * Returns the persons phone number
     * @return String phoneNumber - The persons phone number
     */
    public String getPhoneNumber(){
        return phoneNumber;
    }
    /**
     * Returns the persons email
     * @return String email - The persons email
     */
    public String getEmail(){
        return email;
    }
}
